<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<title>添加新的活动</title>


<div class="col-md-12">
	<div class="panel panel-default">
		<div class="panel-heading">
			<h4>新建[档期]</h4>
		</div>
		<div class="panel-body">
			<form:form cssClass="form-horizontal" modelAttribute="activity" >
				<div class="form-group">
					<label class="col-sm-2 control-label">名称</label>
		<div class="col-sm-10">
			<form:input path="scheduleName" cssClass="form-control" placeholder="请输入活动名称" />
			<form:errors path="scheduleName" cssStyle="color:red"></form:errors>
		</div>
				</div>
				<div class="form-group">
				<label class="col-sm-2 control-label">开始时间</label>
		 <div class="col-sm-10">
			<form:input path="startDate" cssClass="form-control input-date" placeholder="请输入开始时间" /><!-- path 表示student中的property -->
			<form:errors path="startDate" cssStyle="color:red"></form:errors>
		</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">结束时间</label>
		 <div class="col-sm-10">
			<form:input path="endDate" cssClass="form-control input-date"    placeholder="请输入结束时间" /><!-- path 表示student中的property -->
			<form:errors path="endDate" cssStyle="color:red"></form:errors>
		</div>
				</div>
				<div class="form-group">
					<div class="col-sm-3"></div>
					<div class="col-xs-12 col-sm-5">
						<input type="submit" class="btn btn-primary btn-sm" value="保存" />

					</div>
				</div>
				</form:form>
		</div>
	</div>
</div>



